#include "sphereBody.h"

using namespace sde;

SphereBody::SphereBody(std::string _type, std::string _name, Object* _object) :
    Body(_type,_name,_object) {
}

btCollisionShape* SphereBody::makeCollisionShape() {
    float radius = boost::any_cast<float>(object->getVar("radius",float(1)));
    return new btSphereShape(radius);
}
